//
//  NavigateView.h
//  Toyota
//
//  Created by ld on 2024/6/25.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface NavigateView : UIView
typedef void (^LeftBlock)(BOOL hasAction);
typedef void (^RightBlock)(BOOL hasAction);
-(instancetype)initWithFrame:(CGRect)frame andTitleStr:(NSString *)titleStr andRightStr:(NSString *)rightStr andLeftBlock:(void (^)(BOOL hasBlock))leftBlock andRightBlock:(void (^)(BOOL hasBlock))rightBlock;

@property (nonatomic, strong)LeftBlock leftBtnBlock;
@property (nonatomic, strong)RightBlock rightBtnBlock;
@end

NS_ASSUME_NONNULL_END
